package com.xdxc.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ExamResultDTO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private  String examName;

    private LocalDateTime startTime;
    private LocalDateTime endTime;

    private BigDecimal objectiveScore;
    private BigDecimal subjectiveScore;

    private BigDecimal  totalScore;
    private BigDecimal  passScore;
    private BigDecimal  paperTotalScore;
    private Boolean isPassed;
    private List<GroupQuestion> questionGroupList;
}
